package com.hcy.driver.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hcy
 * @since 2021-12-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CarDriverBindRecord implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 司机ID
     */
    private Integer driverInfoId;

    /**
     * 车辆ID
     */
    private Integer carInfoId;

    private String operatorUser;

    /**
     * 1绑定0解绑
     */
    private Integer type;

    private Date createTime;

    /**
     * 绑定时间
     */
    private Date bindTime;

    /**
     * 解绑时间
     */
    private Date unbindTime;

    /**
     * 车辆总里程
     */
    private Integer totalMile;


}
